package io.github.wppli.infrastructure.persistent.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户行为记录
 * </p>
 *
 * @author lijiaqiang@ljq1024.cc
 * @since 2025-03-12
 */
@Getter
@Setter
@TableName("user_behaviors")
public class UserBehaviors implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 行为ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户ID
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 目标商品ID
     */
    @TableField("product_id")
    private Long productId;

    /**
     * 行为类型
     */
    @TableField("behavior_type")
    private String behaviorType;

    /**
     * 行为类型
     */
    @TableField("behavior_score")
    private float behaviorScore;

    /**
     * 行为时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;


}
